home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / windows / macrom31.zip / WIN31.LS_ / WIN31.LS
Text File  |  1996-08-09  |  8KB  |  13 lines

  1. It's *NOT* recommended that you modify this file directly.
  2. You should use the Macro Mania program to make
  3. Simple Example Using Windows' Notepad                                                               face03.ico  XXXXXXXXXXXMINIMIZEREM Start Windows' NotepadRUN Notepad, MMTESTREM Maximize the WindowSEND % xREM Turn on Word WrapSEND %EwREM Send a few sentences and pause.REM Notice that as long as I do not press the ENTER key and just allow the word wrap to work, that the command continues to the next line.SEND Macro Mania makes it really easy to create macros!  While this one is fairly simple, you can send any keystroke that you would need to send to any Windows program with Macro Mania!{ENTER 2}SEND Notice that you can control your macros using the PAUSE command.  It allows you to temporarily stop a macro so that you can type, read, or whatever; then you can either resume immediately or choose to cancel the macro entirely by clicking on the appropriate button.{ENTER 2}SEND If you're finished reading, just click the "Resume" button on the "MACRO PAUSE" window at the bottom right of your screen now to exit this session of Notepad, or wait and it will count down and resume automatically.  The "Cancel" button will cause the macro to stop {(}in this case it will not exit the Notepad as instructed to do next{)}.PAUSE 45 SHOWREM Exit the Notepad without savingSEND %FxnREM Restore Macro ManiaRESTORE
  4. Write Example                                                                                       waves2.ico  XXXXXXXXXXXMINIMIZERUN WRITE.EXEREM Maximize the WindowSEND % xREM Center the text, make it bold, then enlarge the fontSEND %Pc^B%CeREM Type in the letter head, make font normalSEND Jeff Camino{ENTER}P.O. Box 25262{ENTER}Columbia, SC  29224{ENTER}{F5}REM Send Today's dateSENDNOW mmmm d, yyyyREM Press Enter twice, then left-justify paragraph and send greetingSEND {ENTER 2}%PLDear Mr. President:{ENTER 2}SEND You would probably just end the macro and begin typing here.  Of course, this is just an example, so you can press the "Resume" button, Write will be exited without savings changes, and you will return to Macro Mania.  Press "Cancel" if you want to write a letter to the President, but change the letter head! <smile>PAUSE 45 SHOWSEND %FxnRESTORE
  5. DOS Prompt                                                                                          misc41.ico  XXXXXXXXXXXMSG_OK Notice that you can display helpful, instructional messages along with your macros.  This message is intended to let you know that this macro will take you to the DOS prompt.  To return to Windows just type EXIT.REM Notice that you can run PIFs too!!RUN DOSprmpt.pifMSG_OK As you can see, Macro Mania can be used as a very handy program launcher!
  6. Example of an Interactive Macro                                                                     misc15.ico  XXXXXXXXXXXMSG_OKCANCEL You can control whether or not you wish to have a macro resume executing after displaying a message box like this one.  Select OK now and this macro will display another message box.  Select CANCEL and the macro will stop executing entirely.MSG_OK These examples really just touch the surface of all you can do with Macro Mania.  I wish I could have included more powerful examples, but not knowing what programs you run on your system I didn't want to overdo it and jinx making my point of how easy and powerful this all can be.  Once you master the few easy commands, you will find yourself creating macros for both chores you perform every day as well as quick, temporary macros that will save you a lot of typing.
  7. Another Example Using Windows' Write                                                                icon.ico    XXXXXXXXXXXMINIMIZERUN WRITE.EXEREM Maximize the WindowSEND % xREM I want to send a plus, so I need to use {+}.  (For more information about when you need to use {}, see the SEND command in the Help section.)SEND 4 {+} 2 = 3 {+} 3{Enter}SEND 2 {+} 3 = 4 {+} 1{Enter}SEND 5 {+} 3 = 8{Enter}SEND 12 = 3 * 4{Enter 3}SEND This macro will switch the value on the left side of the equal sign with the value on the right side.  {(}It actually can do it *much* faster, but I have added a pause in a few places so you can see what it is doing{)}.PAUSE 7 SHOWREM Note that the following part could be put into a macro by itself so that you could use the REPEAT command to tell it how many times to repeat rather than copy it three more times.REM Go to the top, then search for the first equal signSEND ^{home}%NfSEND ={enter}{esc}REM Delete the equal sign and space, then cut what's on its rightSEND {del 2}+{end}%EtREM Add the equal sign and paste back what was on the leftSEND {home}%Ep = PAUSE 1REM Search for the next equal sign and do the same as above (3 more times)SEND {F3}SEND {del 2}+{end}%EtREM Add the equal sign and paste back what was on the leftSEND {home}%Ep = PAUSE 1SEND {F3}SEND {del 2}+{end}%EtREM Add the equal sign and paste back what was on the leftSEND {home}%Ep = PAUSE 1SEND {F3}SEND {del 2}+{end}%EtREM Add the equal sign and paste back what was on the leftSEND {home}%Ep = PAUSE 2SEND ^{end}{enter 2}This type of thing is easy to do and just starts to tap what you can do with Macro Mania!{enter 3}SEND Select the "Resume" button when you are ready to exit.BeepPAUSE 99 SHOWSEND %Fxn
  8. An America Online "Flash Session"                                                                   aol.ico     XXXXXXXXXXXMsg_OK As you might guess, you'll need to have a copy of America Online for Windows to use this example.  It will bring up a copy of that program and activate the Send/Receive Mail command automatically for you.  If you don't have the program, an error will occur and it just won't work, no big deal.MINIMIZEREM Run America Online SoftwareCD c:\aol25RUN c:\aol25\waol.exeREM Send keystrokes to start a "flash session" on AOLSEND %M{down 7}{enter 2}
  9. Send/Receive WINCIM E-mail                                                                          cim1.ico    XXXXXXXXXXXMsg_OK As you might guess, you'll need to have a copy of WINCIM to use this example.  It will bring up a copy of that program and activate the Send/Receive Mail command automatically for you.  If you don't have the program, an error will occur and it just won't work, no big deal.MINIMIZEREM Start CompuServe's WINCIM programCD c:\cserve\wincimRUN c:\cserve\wincim\wincim.exeREM Send keystrokes to Send/Receive E-mailSEND %Mr{enter}
  10. Scheduling Macros...                                                                                clock01.ico XXXXXXXXXXXMSG_OK By using the Scheduling feature, you can even set yourself quick "reminders" throughout the day.  This macro does not actually use the schedule feature since I have no idea when you'll run this program, but you can easily modify this macro to do so via the "Add/Edit Macros" window.BEEPPAUSE 1BEEPPAUSE 1BEEPMSG_OK Time to take out the trash--does anyone you know need this reminder?? <grin>MSG_OK Of course you can also schedule certain macros to run at a time or interval you specify.  Perhaps you have a backup program you want to run at 1:00 am (and you would prefer not to have to attend such an activity), or you wish to Send/Receive Email every hour (to name just a few examples).
  11. Demonstration of getting Dynamic Input                                                              burger.ico  XXXXXXXXXXXGetInput Enter the text file to open with Notepad.  Include the full path if necessary (e.g. c:\autoexec.bat).Run notepad.exeSend %FoSendInputSend {enter}
  12. Example of how to play a WAV file                                                                   sound.ico   XXXXXXXXXXXPLAYWAV c:\macrom\applaus.wavMSG_OK In addition to all the other cool features, Macro Mania can play WAV files to give your macros added "pizzaz"!!!
  13.